package com.tengfei.main.question.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tengfei.common.core.mapper.BaseMapperPlus;
import com.tengfei.main.question.domain.QbUser;
import com.tengfei.main.question.domain.vo.QbUserVo;
import com.tengfei.main.system.domain.SysUser;
import org.apache.ibatis.annotations.Param;

/**
 * @author feige
 * @version v1.0
 * @date 2022-08-31-15:14
 * @description
 */
public interface QbUserMapper extends BaseMapperPlus<QbUserMapper, QbUser, QbUserVo> {

    Page<QbUserVo> selectBindUserList(@Param(Constants.WRAPPER) Wrapper<SysUser> buildQueryWrapper, @Param("page") Page<QbUserVo> build, @Param("qbId") Long qbId);


    Page<QbUserVo> selectUnBindUserList(@Param(Constants.WRAPPER) Wrapper<SysUser> buildQueryWrapper, @Param("page") Page<QbUserVo> build, @Param("qbId") Long qbId);
}
